Skip to content

Refactor: kebab-case the three snake_case doc filenames - #1528

Merged
ChaoWao merged 1 commit into
hw-native-sys:mainfrom
ChaoWao:refactor/kebab-case-doc-filenames
Jul 27, 2026
Merged

Refactor: kebab-case the three snake_case doc filenames#1528
ChaoWao merged 1 commit into
hw-native-sys:mainfrom
ChaoWao:refactor/kebab-case-doc-filenames

Conversation

@ChaoWao

@ChaoWao ChaoWao commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator

Summary

Every document under docs/ used kebab-case except three, which used underscores. This renames them and updates every reference:

Before After References
docs/hierarchical_level_runtime.md docs/hierarchical-level-runtime.md 47 occurrences / 20 files
docs/dfx/dep_gen.md docs/dfx/dep-gen.md 16 occurrences / 10 files
docs/sim_multi_device_isolation.md docs/sim-multi-device-isolation.md 1 occurrence / 1 file

64 occurrences across 30 files, including .claude/rules/ascend.md, .claude/skills/dfx-analyze, the examples/workers/ READMEs, a pytest comment, and four C++ headers/sources that cite the dep_gen schema doc from a comment. The non-markdown files change only inside those comments — no code is affected.

docs/README.md now states the convention so the exception does not come back.

⚠️ Two conflicts to be aware of before merging

I deliberately excluded docs/logging.md from the earlier dfx/ consolidation for exactly this reason; here the collision is unavoidable if all three are to be renamed, so flagging rather than hiding it.

Verification

  • No snake_case filenames remain under docs/
  • Zero residual references to any of the three old names, including forms without the .md suffix
  • Code identifiers untouched — only the exact <name>.md strings were rewritten, so dep_gen.h (13), enable_dep_gen (103) and dep_gen_host_graph (70) all still resolve, and a check for a mis-generated dep-gen_ / dep-gen.h returns 0
  • Repo-wide relative-link validation: no new broken links (the same 5 pre-existing ones remain, all in files this PR does not touch)
  • markdownlint-cli2 clean on all 29 changed markdown files, using v0.20.0 — the version .pre-commit-config.yaml:83 pins
  • git records all three as renames, so git log --follow keeps working

Note on dep_gen.md

Its underscore was not a typo — it mirrored the dep_gen / enable_dep_gen / dep_gen_host_graph identifiers. Renaming the doc breaks that correspondence, which I raised before doing it; filename consistency was chosen deliberately. The feature keeps its underscore spelling in prose, in link text, and in the doc's own H1, so only the filename changes.

Testing

Documentation and comments only; no code, build, or config changes, so the sim/hardware suites do not apply per the git-commit skill's test matrix.

  • Simulation tests — not applicable
  • Hardware tests — not applicable

Every document under docs/ used kebab-case except three, which used
underscores. Rename them and update every reference (paths below are
relative to docs/):

  hierarchical_level_runtime.md -> hierarchical-level-runtime.md
  sim_multi_device_isolation.md -> sim-multi-device-isolation.md
  dfx/dep_gen.md                -> dfx/dep-gen.md

64 reference occurrences across 30 files, including the ascend rule and
the dfx-analyze skill under .claude/, the example READMEs, a pytest
comment, and four C++ headers/sources that cite the dep_gen schema doc
from a comment. The non-markdown files change only in those comments; no
code is affected.

Only the exact "<name>.md" strings were rewritten, so the code
identifiers that share the dep_gen spelling are untouched: dep_gen.h,
enable_dep_gen and dep_gen_host_graph still resolve, and no dep-gen_
typo was introduced. This does mean docs/dfx/dep-gen.md no longer
mirrors the dep_gen identifier it documents; filename consistency was
chosen over that correspondence, and the feature keeps its underscore
spelling in prose and in link text.

docs/README.md now states the kebab-case convention, including for docs
named after an underscore-bearing identifier, so the exception does not
come back.

Renames are recorded as renames, so git log --follow still works.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jul 27, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@ChaoWao, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 7 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: b913374e-8edb-4289-9456-517b5976918b

📥 Commits

Reviewing files that changed from the base of the PR and between c440a5d and 885f193.

📒 Files selected for processing (33)
  • .claude/rules/ascend.md
  • .claude/skills/dfx-analyze/SKILL.md
  • README.md
  • docs/README.md
  • docs/aicore-kernel-programming.md
  • docs/capability-survey.md
  • docs/chip-level-arch.md
  • docs/comm-domain.md
  • docs/dfx/README.md
  • docs/dfx/args-dump.md
  • docs/dfx/dep-gen.md
  • docs/dfx/l2-swimlane-profiling.md
  • docs/dfx/profiling-framework.md
  • docs/hierarchical-level-runtime.md
  • docs/l3-l2-message-queue.md
  • docs/l3-l2-orch-comm.md
  • docs/orchestrator.md
  • docs/remote-l3-worker-design/pr-split-and-audit-artifacts.md
  • docs/remote-l3-worker-design/pr-split-and-audit-plan.md
  • docs/scheduler.md
  • docs/sim-multi-device-isolation.md
  • docs/task-flow.md
  • docs/user/how-to/profile-a-kernel.md
  • docs/worker-manager.md
  • examples/workers/README.md
  • examples/workers/l2/README.md
  • examples/workers/l3/README.md
  • simpler_setup/tools/README.md
  • src/a2a3/runtime/host_build_graph/docs/RUNTIME_LOGIC.md
  • src/a2a3/runtime/host_build_graph/host/dep_gen_host_graph.cpp
  • src/a2a3/runtime/host_build_graph/runtime/dep_gen_host_graph.h
  • src/common/platform/include/common/dep_gen.h
  • tests/ut/py/test_worker/test_platform_comm.py

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@ChaoWao
ChaoWao merged commit 92007b7 into hw-native-sys:main Jul 27, 2026
15 of 16 checks passed
@ChaoWao
ChaoWao deleted the refactor/kebab-case-doc-filenames branch July 27, 2026 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant